build executables with -fPIE, not -fPIC
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Thu, 16 Oct 2025 20:15:12 +0000 (16:15 -0400)
committerAaron M. Ucko <ucko@debian.org>
Thu, 16 Oct 2025 20:15:12 +0000 (16:15 -0400)
commitb439bd661eaaa015a21a657160727982bd000b8d
tree4e62a6e324eca1c3f89327103b7741f7cfab9cd7
parent23301847b6599f091b7a584a0aa1e0dc0f5848db
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps
c++/src/build-system/Makefile.app.in